Skip to content

Conversation

@pciolkosz
Copy link
Contributor

This PR adds operator= to the experimental [synchronous_]resource_ref which rebinds the reference. The previous implementation that is currently in libcu++ supported it and RMM requested we should support the assignment.

We discussed this in the past and decided to implement the assignment in the resource wrappers, not in basic_any

Testing for the assignment is very light, because I will be moving the type erased wrappers to libcu++ soon and there is more testing for resource_ref assignment implemented there

@pciolkosz pciolkosz requested a review from a team as a code owner October 15, 2025 00:36
@github-project-automation github-project-automation bot moved this to Todo in CCCL Oct 15, 2025
@pciolkosz pciolkosz changed the title Add assignment operator that rebinds resource_ref [CUDAX] Add assignment operator that rebinds resource_ref Oct 15, 2025
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Oct 15, 2025
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

🥳 CI Workflow Results

🟩 Finished in 40m 40s: Pass: 100%/42 | Total: 8h 14m | Max: 26m 20s | Hits: 82%/21477

See results here.

@pciolkosz pciolkosz merged commit 23d1419 into NVIDIA:main Oct 17, 2025
53 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants